package com.ssy.lingxi.system.dto.response;

import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * 系统角色列表查询返回值实体
 *
 * @author wrc
 * @date 2020/5/12
 */
public class RoleLoginResponse {


    @ApiModelProperty(value = "角色的菜单")
    private  List<MenuLoginResponse> menus;

    @ApiModelProperty(value = "主键ID")
    private Long id;

    /**
     * 角色名称
     */
    @ApiModelProperty(value = "角色名称")
    private String name;

    /**
     * 角色编码
     */
    @ApiModelProperty(value = "角色编码")
    private String code;

    /**
     * 角色描述
     */
    @ApiModelProperty(value = "角色描述")
    private String described;

    /**
     * 状态（1=有效,0=无效）
     */
    @ApiModelProperty(value = "状态（1=有效,0=无效）")
    private Integer state;

    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private Long createRole;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Long createTime;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    private Long updateTime;


    /**
     * 会员类型
     */
    @ApiModelProperty(value = "会员类型：1.渠道企业会员 2.企业会员 3.个人会员")
    private Integer memberType;

    @ApiModelProperty(value = "角色类型：1.服务消费 2.服务提供")
    private Integer roleType;

    @ApiModelProperty(value = "服务类型：1.采购 2.商品销售 3.加工服务 4.物流服务 5.金融服务 6.渠道采购 7.渠道销售")
    private Integer serviceType;

    public List<MenuLoginResponse> getMenus() {
        return menus;
    }

    public void setMenus(List<MenuLoginResponse> menus) {
        this.menus = menus;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDescribed() {
        return described;
    }

    public void setDescribed(String described) {
        this.described = described;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Long getCreateRole() {
        return createRole;
    }

    public void setCreateRole(Long createRole) {
        this.createRole = createRole;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getMemberType() {
        return memberType;
    }

    public void setMemberType(Integer memberType) {
        this.memberType = memberType;
    }

    public Integer getRoleType() {
        return roleType;
    }

    public void setRoleType(Integer roleType) {
        this.roleType = roleType;
    }

    public Integer getServiceType() {
        return serviceType;
    }

    public void setServiceType(Integer serviceType) {
        this.serviceType = serviceType;
    }
}
